import { defineStore } from "pinia";
export const useOrderStore = defineStore("order", {
  state: () => ({
    selectCamperList: [],
    campMeetLocation: {},
    routeId: 0,
    campld: 0,
    orderType: 0,
    snCode: ""
  }),
  actions: {
    clearData() {
      this.selectCamperList = [];
      this.campMeetLocation = {};
      this.routeId = 0;
      this.campld = 0;
      this.orderType = 0;
      this.snCode = "";
    }
  }
});
